requirejs.config({
    waitSeconds: 15, // 默认 7 秒
    urlArgs: "v=20161125" + "bust=" + (new Date()).getTime(),
    baseUrl: '/js',
    paths: {
        jquery: ['lib/jquery-2.1.0'],
        domReady: ['lib/domReady'],
        underscore: ['lib/underscore-min', 'http://apps.bdimg.com/libs/underscore.js/1.7.0/underscore-min'],
        xcConfirm:"plugins/xcConfirm/xcConfirm",
        app: 'pages',
    },
    shim: {
        underscore: {
            exports: "_"
        },
        xcConfirm:{
            deps:['jquery']
        },
    }
});
// SAP 加载页面内容
requirejs(['app/common/main']);